<%@page contentType="text/txt"%>
<%@page pageEncoding="UTF-8"%>
<%@page import="java.text.DateFormat"%>
<%@page import="java.util.Date"%>
<%
java.text.SimpleDateFormat DFormat = new java.text.SimpleDateFormat("dd-MM-yyyy", java.util.Locale.ITALY); 
Date date=new Date(); 

String data1 = new java.lang.String(DFormat.format(date)); 


%>

<%response.addHeader("Content-Disposition", "attachement; filename=backup_" + data1 +".sql");%>
<jsp:useBean id="actions" scope="application" class="DataAccess.Actions"/>
<%=actions.BackupDB()%>
